package com.ydd.vo;


import com.ydd.result.PageResult;
import com.ydd.vo.ArticleVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Description TODO
 * Author itheima
 * Date 2023-05-2023/5/29 15:15
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "主页统计信息数据响应对象",description = "null响应传输对象")
public class IndexNewVO implements Serializable {

    @ApiModelProperty("接口数据描述")
    private String  desc;

    @ApiModelProperty("24小时最新文章数量")
    private Integer  num_day;

    @ApiModelProperty("一周文章最新数量")
    private Integer  num_week;

    @ApiModelProperty("数据")
    private PageResult<ArticleVO> list;


}
